package HLLibClasses;

import HLCode.HLClassManager;
import HLCode.HLLibClass;
import HLCode.HLObject;
import HLLib.base.HLDictionary;
import HLLib.base.HLFlurryAnalytics;
import HLLib.base.HLString;

public class HLClassFlurryAnalytics extends HLLibClass {
    public HLClassFlurryAnalytics(HLClassManager owner) {
        super(owner);
    }

    public HLObject NewObject() {
        return new HLFlurryAnalytics();
    }

    public void StaticExecute(int index, HLObject args, HLObject resultOwnerObject, int resultIndex) {
        switch (index) {
        case 0: {
            HLFlurryAnalytics.LogEvent((HLString)args.GetObject(0));
            break;
        }
        case 1: {
            HLFlurryAnalytics.LogEventTimed((HLString)args.GetObject(0), args.GetBoolean(0));
            break;
        }
        case 2: {
            HLFlurryAnalytics.LogEventTimedWithParameters((HLString)args.GetObject(0), (HLDictionary)args.GetObject(1), args.GetBoolean(0));
            break;
        }
        case 3: {
            HLFlurryAnalytics.EndTimedEventWithParameters((HLString)args.GetObject(0), (HLDictionary)args.GetObject(1));
            break;
        }
        case 4: {
            HLFlurryAnalytics.setUserID((HLString)args.GetObject(0));
            break;
        }
        case 5: {
            HLFlurryAnalytics.SetAge(args.GetInt(0));
            break;
        }
        case 6: {
            HLFlurryAnalytics.SetGender(args.GetInt(0));
            break;
        }
        case 7: {
            HLFlurryAnalytics.SetVersion(args.GetInt(0));
            break;
        }
        }
    }
}
